package com.atty.dms.dto.req;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class InterestCreateReqDTO {
    @NotBlank(message = "兴趣名称不能为空")
    @Size(max = 10, message = "兴趣名称长度不能超过10个字符")
    private String name;
}